package com.gy.common.model.emum;

public enum InputType {
    INPUT("input"),
    CHECKBOX("checkbox"),
    SELECT("select"),
    SelectTree("selectTree"),
    TEXTAREA("textarea"),
    Float("float"),
    VECTOR2("vector2"),
    VECTOR3("vector3"),
    VECTOR4("vector4"),
    OBJECT("object"),
    ARRAY("array"),
    MATRIX("matrix"),
    COLORPICKER("colorPicker"),
    FILEPICKER("filePicker");

    private String name;

    InputType(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }

    public static boolean notIn(String name) {
        for (InputType e : InputType.values()) {
            if (name.equals(e.name)) {
                return false;
            }
        }
        return true;
    }


}
